package com.xianyun.site.support.api.dubbo;

import com.alibaba.cola.dto.Response;
import com.xianyun.site.support.dto.SmsCheckQry;
import com.xianyun.site.support.dto.SmtpCheckQry;

/**
 * @author mac_zyj
 */
public interface SupportEchoService {
    /**
     * 校验短信验证码
     * @param smtpCheckQry 邮件验证码校验封装类
     * @return 发送结果
     */
    Response checkSmtpCode(SmtpCheckQry smtpCheckQry);

    /**
     * 校验短信验证码
     * @param smsCheckQry 手机验证码校验封装类
     * @return 发送结果
     */
    Response checkSmsCode(SmsCheckQry smsCheckQry);
}
